/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Actor.weapons;

import Actor.Actor;
import java.awt.Rectangle;
import java.awt.geom.Area;
import java.awt.geom.Rectangle2D;
import javax.vecmath.Point2d;

/**
 *
 * @author Eric-Standard
 */
public class Pickup extends Actor {

    private int fuseTime;
    private Rectangle r = new Rectangle();

    public Pickup() {
        this(Actor.DEFAULT_POINT);
    }

    public Pickup(Point2d p) {
        super(p);
        r.x = (int) pos.x;
        r.y = (int) pos.y;
        r.width = 10;
        r.height = 10;
    }

    @Override
    public Rectangle2D getBoundingRectangle() {
        return r;
    }

    @Override
    public Area getArea() {
        return new Area(r);
    }
}
